Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent panic: unexpected constant value: <nil> #1232

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

ldemailly
Copy link
Contributor

@ldemailly ldemailly commented Sep 19, 2024

Fixes #1229

(or to be more correct... prevents it yet it's suspicious, see comments in the issue)

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 68.49%. Comparing base (a836898) to head (8438d9f).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
analyzers/conversion_overflow.go 0.00% 1 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1232      +/-   ##
==========================================
- Coverage   68.53%   68.49%   -0.04%     
==========================================
  Files          75       75              
  Lines        4382     4384       +2     
==========================================
  Hits         3003     3003              
- Misses       1232     1233       +1     
- Partials      147      148       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ccojocar ccojocar merged commit 1d23143 into securego:master Sep 20, 2024
6 checks passed
@ldemailly ldemailly deleted the fix_1229 branch September 20, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic in gosec 2.21.3 conversion overflow analyzer
3 participants